/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.model.account;

import java.util.List;

import com.unis.model.BaseModel;

/**
 * 系统角色: 基于Apache Shiro权限模型
 * 
 * @author CSJ (email:raulcsj@163.com)
 * @since 2012-11-26
 */
public class SysRole extends BaseModel {
    private static final long serialVersionUID = 1L;

    /****************************************
     * 用户基本信息项
     ****************************************/
    private String roleId = "";
    private String roleName = "";
    private String description = "";

    /****************************************
     * 角色权限列表
     ****************************************/
    private List<SysPermission> sysPermissions = null;

    /****************************************
     * JavaBean Specify setter & getter
     ****************************************/
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<SysPermission> getSysPermissions() {
        return sysPermissions;
    }

    public void setSysPermissions(List<SysPermission> sysPermissions) {
        this.sysPermissions = sysPermissions;
    }

}
